package com.gxa.zhonglong.service;

import com.gxa.zhonglong.exception.BusinessException;
import com.gxa.zhonglong.pojo.GoodsType;

import java.util.List;

/**
 * @author NITRO
 */
public interface GoodsTypeService {
    Boolean add(GoodsType goodsType) throws BusinessException;

    void delete(List<Long> ids) throws BusinessException;

    Boolean update(GoodsType goodsType) throws BusinessException;

    List<GoodsType> getList();

    List<String> getNameList();
}
